package study

import (
	"fmt"
	"time"
)

type MainStudy struct {
}

func func2() {

	fmt.Println("这里的这一句话来自协程")

}

func (c *MainStudy) study1() {

	// 协程 https://studygolang.com/articles/29641
	fmt.Println("我先来一句 这句话来自主进程")
	time.Sleep(time.Second)

	go func2()

}
